﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace NicoView.Model.Service.Comments
{
    public sealed class SubmitCommentConversionData:NicoViewObservableObject
    {
        public SubmitCommentConversionData(string key, string val,bool isRegex = false)
        {
            this.Key = key;

            this.Value = val;

            this.IsRegex = isRegex;
        }


        private string key;
        public string Key
        {
            get
            {
                return this.key;
            }

            set
            {
                this.Set(() => this.Key, ref this.key, value);
            }
        }

        private bool isRegex;

        public bool IsRegex
        {

            get
            {
                return isRegex;
            }

            set
            {
                this.Set(() => this.IsRegex, ref this.isRegex, value);
            }
        }

        private string value;

        public string Value
        {
            get
            {
                return value;
            }
            set
            {
                this.Set(() => this.Value, ref this.value, value);
            }
        }

    }
}
